//
//  H264DecoderDefine.h
//  IntellDev_new
//
//  Created by os on 2021/3/9.
//

#ifndef H264DecoderDefine_h
#define H264DecoderDefine_h

#pragma pack(push, 1)

typedef struct H264FrameDef {
    
    unsigned int        length;
    unsigned char       *dataBuffer;
    
} H264Frame;

typedef struct H264YUVDef {
    
    unsigned int        width;
    unsigned int        height;
    H264Frame           luma;
    H264Frame           chromaB;
    H264Frame           chromaR;
    
} H264YUV_Frame;

typedef struct _MP4ENC_NaluUnit {
    
    int                 type;
    int                 size;
    unsigned char       *data;
    
} MP4ENC_NaluUnit;

#pragma pack(pop)

#endif /* H264DecoderDefine_h */
